package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: ums_message
 */
@Data
public class UmsMessage implements Serializable {
    /**
     * Table:     ums_message
     * Column:    id
     * Nullable:  true
     */
    private Long id;

    /**
     * Table:     ums_message
     * Column:    shop_id
     * Nullable:  true
     */
    private Integer shopId;

    /**
     * 消息类型
     *
     * Table:     ums_message
     * Column:    type
     * Nullable:  true
     */
    private Integer type;

    /**
     * 消息标题
     *
     * Table:     ums_message
     * Column:    title
     * Nullable:  true
     */
    private String title;

    /**
     * 摘要
     *
     * Table:     ums_message
     * Column:    summary
     * Nullable:  true
     */
    private String summary;

    /**
     * 消息内容
     *
     * Table:     ums_message
     * Column:    content
     * Nullable:  true
     */
    private String content;

    /**
     * 创建时间
     *
     * Table:     ums_message
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 该字段不为null 时为接受消息的用户ID
     *
     * Table:     ums_message
     * Column:    send_to
     * Nullable:  true
     */
    private Long sendTo;

    /**
     * 1. 小程序消息 2. 后天管理系统消息
     *
     * Table:     ums_message
     * Column:    channel
     * Nullable:  true
     */
    private Integer channel;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_message
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}